package metier;

/***********************************************************************
 * Module:  Journaliste.java
 * Author:  p1104123
 * Purpose: Defines the Class Journaliste
 ***********************************************************************/

import java.util.*;

public class Journaliste extends VIP {

   private String employeur;

    public Journaliste(String nom, String prenom,String nationalite, int coefAttrait, String compagnon, int accreditation, String employeur) {
        super(nom, prenom, nationalite, coefAttrait, compagnon, accreditation);
        this.employeur = employeur;
    }
    
    public Journaliste(int numero, String nom, String prenom,String nationalite, int coefAttrait, String compagnon, int accreditation, String employeur) {
        super(numero, nom, prenom, nationalite, coefAttrait, compagnon, accreditation);
        this.employeur = employeur;
    }

    public Journaliste(String employeur) {
        this.employeur = employeur;
    }

    public String getEmployeur() {
        return employeur;
    }

    public void setEmployeur(String employeur) {
        this.employeur = employeur;
    }

    @Override
    public String toString() {
        return super.toString() + "Journaliste{" + "employeur=" + employeur + '}';
    }

}